Skip to content

Supports cached home_location, replaces default 0,0,0 location with None. - #429

Merged
tcr3dr merged 2 commits into
masterfrom
tcr-homefix
Nov 9, 2015
Merged

tcr3dr merged 2 commits into
masterfrom
tcr-homefix

Conversation

@tcr3dr

@tcr3dr tcr3dr commented Nov 7, 2015

Copy link
Copy Markdown
Contributor
  • home_location, on setting, now caches value until actual change is set.
  • 0,0,0 home location tuple is now ignored. home_location will read None until a valid value is read.

@hamishwillee

Copy link
Copy Markdown
Contributor

@tcr3dr Works well/much better. I've added updates to ref, example and guide to cover this. This includes improving the example so that it won't attempt to read or write the home location until a non-None value is detected.

tcr3dr added a commit that referenced this pull request Nov 9, 2015
Supports cached home_location, replaces default 0,0,0 location with None.
@tcr3dr
tcr3dr merged commit 5905fb7 into master Nov 9, 2015
@tcr3dr
tcr3dr deleted the tcr-homefix branch November 9, 2015 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants